package kazan.fujitsu.lab;

/**
 * Test class for testing teamwork within VCS
 *
 * @autor ayratn
 */
public class NamePublisher {

    /**
     * Publishes the names.
     *
     * @param names List of names to publish
     */
    public void doPublish(String... names) {
        for (String name: names) {
            publish(name);
        }
    }

    /**
     * Writes the name to console
     *
     * @param name
     */
    protected void publish(String name) {
        System.out.println(name);
    }
    
    public static void main(String[] args) {
        String[] nameList = {
                "Fujitsu"
        };

        NamePublisher publisher = new NamePublisher();
        publisher.doPublish(nameList);
    }
}
